home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Prog
/
T
/
TC Prog Guide.cpt
/
picture ƒ
/
class.h
< prev
next >
Wrap
Text File
|
1991-02-16
|
774b
|
39 lines
/*
* FILE: class.h
* AUTHOR: R.G.
* CREATED: June 25, 1990
*
* header file defines Generic_Class and ensures Think C/C++
* compatibility
*/
# ifndef class_h /* to avoid header reinclusion in C++ */
# define class_h
# ifdef THINK_C
# include "oops.h"
# include "MacTypes.h"
# define virtual /* for TC/C++ compatibility */
# endif
# define TRUE 1
# define FALSE 0
typedef int boolean;
/******************************************************************
* root class for all classes
******************************************************************/
# ifdef THINK_C
struct Generic_Class:indirect
# else
struct Generic_Class /* for TC/C++ compatibility */
# endif
{
virtual boolean init(void);
virtual boolean destroy(void);
};
# endif